<script>
  import Vue from 'vue';
  export default {
    onLaunch: function() {
      console.log("App Launch");
      uni.getSystemInfo({
        success: e => {
          Vue.prototype.statusHeight = e.statusBarHeight;
          Vue.prototype.screenHeight = e.screenHeight;
        }
      });
    },
    onShow: function() {
      console.log("App Show");
    },
    onHide: function() {
      console.log("App Hide");
    }
  };
</script>

<style>
  page {
    font-family: PingFang SC;
    font-size: 28rpx;
    background-color: #F5F5F5;
  }

  * {
    box-sizing: border-box;
  }

  .mark {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .6);
    z-index: 9999;
  }
</style>
